package com.yanqu.road.entity.curio.enums;

import com.yanqu.road.entity.enums.eSkillType;

public enum  eCurioSkillMessageType {

    CurioBeautyGlamourSkill(eSkillType.CurioBeautyGlamourSkill, "藏宝系统-特定职业美女才华增加固定值", eSkillEffectType.BeautyAttribute, eSkillEffectRangeType.Occupation),

    CurioBeautyIntimacyAddSkill(eSkillType.BeautyIntimacyAddSkill, "特定职业美女亲密值加固定值", eSkillEffectType.BeautyAttribute, eSkillEffectRangeType.Occupation),

    CurioPatronsAbilitySkill(eSkillType.CurioPatronsAbilitySkill, "藏宝系统-特定职业门客赚钱增加固定值", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Occupation),
    
    CurioOccupationBuildingEarnSkill(eSkillType.CurioOccupationBuildingEarnSkill, "藏宝系统-特定职业商铺赚速增加千分比", eSkillEffectType.Building, eSkillEffectRangeType.Occupation),
    
    CurioBuildingEarnSkill(eSkillType.CurioBuildingEarnSkill, "藏宝系统-特定商铺增加赚速千分比", eSkillEffectType.Building, eSkillEffectRangeType.Id),
    
    CurioBuildingStaffSkill(eSkillType.CurioBuildingStaffSkill, "藏宝系统-特定商铺伙计赚速增加固定值", eSkillEffectType.Building, eSkillEffectRangeType.Id),
    
    CurioBeautyTalkExpSkill(eSkillType.CurioBeautyTalkExpSkill, "藏宝系统-特定职业美女谈心缘分增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.Occupation),
   
    CurioNewMonopolyGuanYinSkill(eSkillType.CurioNewMonopolyGuanYinSkill, "藏宝系统-榷场初始关引增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioNewMonopolyPatronsSkill(eSkillType.CurioNewMonopolyPatronsSkill, "藏宝系统-榷场门客赚钱增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioNewMonopolyBeautySkill(eSkillType.CurioNewMonopolyBeautySkill, "藏宝系统-榷场美女才华增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioZSOpenTimeSkill(eSkillType.CurioZSOpenTimeSkill, "藏宝系统-增加招商承包场次次数", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioZSTokenSkill(eSkillType.CurioZSTokenSkill, "藏宝系统-招商资历产出增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioTradeWarSelfAddSkill(eSkillType.CurioTradeWarSelfAddSkill, "商战我方积分增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioTradeWarOpponentAddSkill(eSkillType.CurioTradeWarOpponentAddSkill, "商战敌方积分减少千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioOpenBanquetPopularitySkill(eSkillType.CurioOpenBanquetPopularitySkill, "开宴人气结算增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioJoinBanquetPopularitySkill(eSkillType.CurioJoinBanquetPopularitySkill, "赴宴人气产出增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioCookAddSkill(eSkillType.CurioCookAddSkill, "客栈烹饪厨艺增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioMonthCardIngotsAddSkill(eSkillType.CurioMonthCardIngotsAddSkill, "月卡领取元宝增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioYearCardIngotsAddSkill(eSkillType.CurioYearCardIngotsAddSkill, "年卡领取元宝增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioRankLikeIngotsAddSkill(eSkillType.CurioRankLikeIngotsAddSkill, "排行榜点赞元宝增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioMammonLikeIngotsAddSkill(eSkillType.CurioMammonLikeIngotsAddSkill, "财神庙点赞元宝增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioTitleRewardIngotsAddSkill(eSkillType.CurioTitleRewardIngotsAddSkill, "身份奖励领取元宝增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioTravelGiveAddSkill(eSkillType.CurioTravelGiveAddSkill, "游历体力赠送增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioTravelGetAddSkill(eSkillType.CurioTravelGetAddSkill, "游历体力领取增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioTravePrestigeAddSkill(eSkillType.CurioTravelPrestigeAddSkill, "游历声望产出增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioBeautyEnergyAddSkill(eSkillType.CurioBeautyEnergyAddSkill, "美女精力恢复增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioBeautyEnergyLimitAddSkill(eSkillType.CurioBeautyEnergyLimitAddSkill, "美女精力上限增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioChildAdultAddSkill(eSkillType.CurioChildAdultAddSkill, "特定职业子嗣成年赚速增加千分比", eSkillEffectType.Settlement, eSkillEffectRangeType.None),
   
    CurioPatronsQualificationSkill(eSkillType.CurioPatronsQualificationSkill, "藏宝系统-特定门客资质增加固定值", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Id),
   
    CurioPatronsEarnAddSkill(eSkillType.CurioPatronsEarnAddSkill, "特定门客赚钱增加千分比", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Id),
   
    CurioPeerlessPatronsEarnAddSkill(eSkillType.CurioPeerlessPatronsEarnAddSkill, "无双门客赚钱增加千分比", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Quality),
   
    CurioComPatronsEarnAddSkill(eSkillType.CurioComPatronsEarnAddSkill, "套装门客赚钱增加千分比", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Id),

    CurioPeerlessPatronsQualificationAddSkill(eSkillType.PeerlessPatronsQualificationAddSkill, "无双门客资质增加固定值", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Quality),

    CurioOccupationPatronsQualificationAddSkill(eSkillType.OccupationPatronsQualificationAddSkill, "特定职业门客资质增加固定值", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Occupation),

    CurioOccupationSoulStoneAddSkill(eSkillType.OccupationSoulStoneAddSkill, "特定职业魂石生效增加千分比(给门客)", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Occupation),

    CurioVehicleAwakenLimitAddSkill(eSkillType.VehicleAwakenLimitAddSkill, "珍兽觉醒等级上线增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),

    CurioSpecialBuildingStaffRecruitNumAddSkill(eSkillType.SpecialBuildingStaffRecruitNumAddSkill, "特定商铺伙计招募数量增加固定值", eSkillEffectType.Settlement, eSkillEffectRangeType.None),

    CurioSpecialPatronsEarnAddSkill(eSkillType.SpecialPatronsEarnAddSkill, "特定职业门客赚钱增加千分比", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.Occupation),

    CurioBeautyGlamourSkill2(eSkillType.CurioBeautyGlamourAdd, "藏宝系统-特定美女才华增加固定值", eSkillEffectType.BeautyAttribute, eSkillEffectRangeType.Id),

    CurioBeautyIntimacyAddSkill2(eSkillType.CurioBeautyIntimacyAdd, "特定美女亲密值加固定值", eSkillEffectType.BeautyAttribute, eSkillEffectRangeType.Id),
    CurioCombLeaderSkill334(eSkillType.CurioSkill334, "给组合首领加资质", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.CombLeader),
    CurioCombLeaderSkill335(eSkillType.CurioSkill335, "给组合首领加千分比", eSkillEffectType.PatronsAttribute, eSkillEffectRangeType.CombLeader),
    ;

    eSkillType skillType;

    String message;

    eSkillEffectType effectType;

    eSkillEffectRangeType rangeType;

    eCurioSkillMessageType(eSkillType skillType, String message, eSkillEffectType effectType, eSkillEffectRangeType rangeType) {
        this.skillType = skillType;
        this.message = message;
        this.effectType = effectType;
        this.rangeType = rangeType;
    }

    public eSkillType getSkillType() {
        return skillType;
    }

    public String getMessage() {
        return message;
    }

    public eSkillEffectType getEffectType() {
        return effectType;
    }

    public eSkillEffectRangeType getRangeType() {
        return rangeType;
    }

    public static String getMessage(int skillType){
        for (eCurioSkillMessageType value : eCurioSkillMessageType.values()) {
            if(value.getSkillType().getValue() == skillType){
                return value.getMessage();
            }
        }
        return "";
    }

    public static eSkillEffectType getSkillEffectType(int skillType){
        for (eCurioSkillMessageType value : eCurioSkillMessageType.values()) {
            if(value.getSkillType().getValue() == skillType){
                return value.getEffectType();
            }
        }
        return eSkillEffectType.Settlement;
    }

    public static eSkillEffectRangeType getSkillEffectRangeType(int skillType){
        for (eCurioSkillMessageType value : eCurioSkillMessageType.values()) {
            if(value.getSkillType().getValue() == skillType){
                return value.getRangeType();
            }
        }
        return eSkillEffectRangeType.None;
    }
}
